<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>register</title>
</head>
<body>
	<h:form>
		<table>
			<tr>
				<td>
					<h:outputLabel>Name</h:outputLabel>
				</td>
				<td>
					<h:inputText value="#{barcampBean.registerData.name}"></h:inputText>
				</td>
			</tr>
			<tr>
				<td>
					<h:outputLabel>Email Address</h:outputLabel>
				</td>
				<td>
					<h:inputText value="#{barcampBean.registerData.emailAddress}"></h:inputText>
				</td>
			</tr>
			<tr>
				<td>
					<h:outputLabel>Event</h:outputLabel>
				</td>
				<td>
         

					<h:selectOneMenu value="#{barcampBean.registerData.eventId}">
                		<f:selectItems value="#{EventTypeBean.selectEvent}"/>              

              		</h:selectOneMenu>
		    	</td>
			</tr>
			<tr>
				<td></td>
				<td>
					<h:commandButton value="Save" action="#{barcampBean.register}"></h:commandButton>
				</td>
			</tr>
		</table>
	</h:form>
</body>
</html>
</f:view>